[BLKTAP] have blktap use a dynamic major
authorAndrew Warfield <andy@xensource.com>
Thu, 28 Sep 2006 19:47:45 +0000 (12:47 -0700)
committerAndrew Warfield <andy@xensource.com>
Thu, 28 Sep 2006 19:47:45 +0000 (12:47 -0700)
commit9dd368070b9306df3f7493e8db4dac34d3ec9322
tree808807bcd97bf4bcfa9989acacc68e3f3528d499
parent8e7cc683c5c25acf26ec48b6c20d3da17a0089a1
[BLKTAP] have blktap use a dynamic major
blktap currently uses a hardcoded major of 254 for the device.  This is
not robust in anyway and needs to be dynamic.

Note: it is better not to have the daemon create the node, and have udev
create it instead. But since the daemon currently creates the node
anyway, it is still the way this is done.  That change needs to be made
at another time.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c
tools/blktap/drivers/blktapctrl.c
tools/blktap/lib/blktaplib.h